package com.stone.back.dish.entity;

import java.util.List;

/**
 * 周菜单套餐关系类
 * @author Stone P
 */
public class BfWeekmenuCombo implements java.io.Serializable {

	// Fields

	private Integer weekcomboid;
	private Integer weekmenuid;
	private Integer comboid;
	private List<BfComboDish> dishList;
	private Integer selldate;
	private BfWeekmenu weekMenu;
	private BfCombo combo;

	// Constructors

	/** default constructor */
	public BfWeekmenuCombo() {
	}

	/** full constructor */
	public BfWeekmenuCombo(Integer weekmenuid, Integer comboid, Integer selldate) {
		this.weekmenuid = weekmenuid;
		this.comboid = comboid;
		this.selldate = selldate;
	}

	// Property accessors

	public Integer getWeekcomboid() {
		return this.weekcomboid;
	}

	public void setWeekcomboid(Integer weekcomboid) {
		this.weekcomboid = weekcomboid;
	}

	public Integer getWeekmenuid() {
		return weekmenuid;
	}

	public void setWeekmenuid(Integer weekmenuid) {
		this.weekmenuid = weekmenuid;
	}

	public Integer getComboid() {
		return this.comboid;
	}

	public void setComboid(Integer comboid) {
		this.comboid = comboid;
	}

	public List<BfComboDish> getDishList() {
		return dishList;
	}

	public void setDishList(List<BfComboDish> dishList) {
		this.dishList = dishList;
	}

	public Integer getSelldate() {
		return this.selldate;
	}

	public String getSelldateStr() {
		String week = "";
		switch(this.selldate) {
			case 1: 
				week = "MONDAY";
				break;
			case 2: 
				week = "TUESDAY";
				break;
			case 3: 
				week = "WEDNESDAY";
				break;
			case 4: 
				week = "THURSDAY";
				break;
			case 5: 
				week = "FRIDAY";
				break;
			case 6: 
				week = "SATURDAY";
				break;
			case 7: 
				week = "SUNDAY";
				break;
		}
		return week;
	}

	public void setSelldate(Integer selldate) {
		this.selldate = selldate;
	}

	public BfWeekmenu getWeekMenu() {
		return weekMenu;
	}

	public void setWeekMenu(BfWeekmenu weekMenu) {
		this.weekMenu = weekMenu;
	}

	public BfCombo getCombo() {
		return combo;
	}

	public void setCombo(BfCombo combo) {
		this.combo = combo;
	}

}